﻿using System.Threading.Tasks;
using Cloud.Core.Data;
using Cloud.Dto;

namespace Cloud.Service.User
{
    public interface IUserService
    {
        SysUserDto Info { get; set; }

        Task Delete(int id);
        Task<PageList<SysUserDto>> GetUserPageListAsync(int pageIndex, int pageSze, string LoginName = null, string RelName = null, string Phone = null);
        IUserService Init(int _userId);
    }
}